# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
pkgname=py3-pytest-regtest
_pyname=pytest-regtest
pkgver=1.5.1
pkgrel=0
pkgdesc="pytest-regtest is a pytest-plugin for implementing regression tests"
url="https://gitlab.com/uweschmitt/pytest-regtest"
arch="noarch"
license="MIT"
depends="py3-pytest"
makedepends="py3-setuptools"
checkdepends="py3-pexpect py3-tox"
subpackages="$pkgname-pyc"
source="https://files.pythonhosted.org/packages/source/p/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install \
		--prefix=/usr \
		--root="$pkgdir"

}

sha512sums="
b781755bbd6a6d456216625ab166422cf524eab308f35eda9ced540439b553381bf948830737a3177f874c7ea2a12e1d2cd4ba9e04b36f7f13c74cfb2269970c  pytest-regtest-1.5.1.tar.gz
"
